<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module Voiture</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>Voiture</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/geoff/workspace/svn/trunk/DreamPark/modele/Voiture.py">/home/geoff/workspace/svn/trunk/DreamPark/modele/Voiture.py</a></font></td></tr></table>
    <p><tt>Created&nbsp;on&nbsp;21&nbsp;nov.&nbsp;2014<br>
&nbsp;<br>
@author:&nbsp;Damien&nbsp;Torond&nbsp;et&nbsp;Geoffrey&nbsp;Sentost<br>
Module&nbsp;<a href="#Voiture">Voiture</a></tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="modele.Client.html">modele.Client</a><br>
</td><td width="25%" valign=top><a href="modele.Placement.html">modele.Placement</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="Voiture.html#Voiture">Voiture</a>
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Voiture">class <strong>Voiture</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>La&nbsp;classe&nbsp;<a href="#Voiture">Voiture</a>&nbsp;modelise&nbsp;la&nbsp;voiture&nbsp;d'un&nbsp;client.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Voiture-__init__"><strong>__init__</strong></a>(self, longueur, largeur, immatriculation, garee=None)</dt><dd><tt>Constructeur&nbsp;de&nbsp;la&nbsp;classe&nbsp;<a href="#Voiture">Voiture</a>.<br>
Attributs:<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;largeur&nbsp;de&nbsp;type&nbsp;int,&nbsp;largeur&nbsp;de&nbsp;la&nbsp;voiture.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;longueur&nbsp;de&nbsp;type&nbsp;int,&nbsp;longueur&nbsp;de&nbsp;la&nbsp;voiture.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;immatriculation,&nbsp;de&nbsp;type&nbsp;string,&nbsp;immatriculation&nbsp;de&nbsp;la&nbsp;voiture.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;proprietaire&nbsp;de&nbsp;type&nbsp;string,&nbsp;initialise&nbsp;a&nbsp;null&nbsp;et&nbsp;associe&nbsp;un&nbsp;client.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;placement&nbsp;de&nbsp;type&nbsp;string,&nbsp;initialise&nbsp;a&nbsp;null.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;placeAttribuee&nbsp;de&nbsp;type&nbsp;booleen,&nbsp;pour&nbsp;savoir&nbsp;si&nbsp;la&nbsp;place&nbsp;est&nbsp;attribue&nbsp;a&nbsp;un&nbsp;superAbonne.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;estGaree&nbsp;de&nbsp;type&nbsp;booleen,&nbsp;pour&nbsp;savoir&nbsp;si&nbsp;une&nbsp;voiture&nbsp;est&nbsp;garee&nbsp;ou&nbsp;non.</tt></dd></dl>

<dl><dt><a name="Voiture-__str__"><strong>__str__</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;methode&nbsp;redefinie&nbsp;afin&nbsp;de&nbsp;mettre&nbsp;en&nbsp;forme&nbsp;les&nbsp;chaines&nbsp;de&nbsp;caracteres.</tt></dd></dl>

<dl><dt><a name="Voiture-definirClient"><strong>definirClient</strong></a>(self, nom, prenom, adresse, mail, tel, id)</dt><dd><tt>Methode&nbsp;:&nbsp;attend&nbsp;un&nbsp;nom,&nbsp;prenom,&nbsp;adresse,&nbsp;mail,&nbsp;telephone&nbsp;et&nbsp;id&nbsp;en&nbsp;parametre.<br>
Permet&nbsp;de&nbsp;definir&nbsp;un&nbsp;client&nbsp;et&nbsp;de&nbsp;l'associer&nbsp;au&nbsp;proprietaire.</tt></dd></dl>

<dl><dt><a name="Voiture-definirPlacement"><strong>definirPlacement</strong></a>(self, placement)</dt><dd><tt>Methode&nbsp;:&nbsp;modificateur&nbsp;de&nbsp;l'attribut&nbsp;proprietaire&nbsp;qui&nbsp;modifie&nbsp;celui&nbsp;ci.</tt></dd></dl>

<dl><dt><a name="Voiture-demanderPlacement"><strong>demanderPlacement</strong></a>(self, acces, bdd)</dt><dd><tt>Methode&nbsp;:&nbsp;demande&nbsp;une&nbsp;instance&nbsp;de&nbsp;Acces&nbsp;et&nbsp;de&nbsp;CtrlBdd&nbsp;en&nbsp;parametre.<br>
Permet&nbsp;de&nbsp;demander&nbsp;un&nbsp;placement&nbsp;pour&nbsp;la&nbsp;voiture&nbsp;et&nbsp;de&nbsp;lancer&nbsp;la&nbsp;procedure&nbsp;d'entree<br>
depuis&nbsp;Acces.</tt></dd></dl>

<dl><dt><a name="Voiture-demanderSortie"><strong>demanderSortie</strong></a>(self, acces, bdd)</dt><dd><tt>Methode&nbsp;:&nbsp;demande&nbsp;une&nbsp;instance&nbsp;de&nbsp;Acces&nbsp;et&nbsp;de&nbsp;CtrlBdd&nbsp;en&nbsp;parametre.<br>
Permet&nbsp;de&nbsp;demander&nbsp;la&nbsp;sortie&nbsp;d'une&nbsp;voiture,&nbsp;en&nbsp;lancant&nbsp;la&nbsp;procedure&nbsp;de&nbsp;sortie&nbsp;depuis<br>
Acces.</tt></dd></dl>

<dl><dt><a name="Voiture-garer"><strong>garer</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;Met&nbsp;l'attribut&nbsp;estGaree&nbsp;a&nbsp;True&nbsp;pour&nbsp;dire&nbsp;qu'une&nbsp;voiture&nbsp;est&nbsp;maintenant&nbsp;garee.</tt></dd></dl>

<dl><dt><a name="Voiture-getEstGaree"><strong>getEstGaree</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;estLibre&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Voiture-getImmatriculation"><strong>getImmatriculation</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;estLibre&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Voiture-getLargeur"><strong>getLargeur</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;estLibre&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Voiture-getLongueur"><strong>getLongueur</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;estLibre&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Voiture-getPlaceAttribuee"><strong>getPlaceAttribuee</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;estLibre&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Voiture-getPlacement"><strong>getPlacement</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;estLibre&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Voiture-getProprietaire"><strong>getProprietaire</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;accesseur&nbsp;de&nbsp;l'attribut&nbsp;estLibre&nbsp;qui&nbsp;retourne&nbsp;celui-ci.</tt></dd></dl>

<dl><dt><a name="Voiture-setPlaceAttribuee"><strong>setPlaceAttribuee</strong></a>(self, bool)</dt><dd><tt>Methode&nbsp;:&nbsp;modificateur&nbsp;de&nbsp;l'attribut&nbsp;proprietaire&nbsp;qui&nbsp;modifie&nbsp;celui&nbsp;ci.</tt></dd></dl>

<dl><dt><a name="Voiture-setPlacement"><strong>setPlacement</strong></a>(self, bdd, placement=None)</dt><dd><tt>Methode&nbsp;:&nbsp;demande&nbsp;une&nbsp;instance&nbsp;de&nbsp;CtrlBdd&nbsp;et&nbsp;de&nbsp;Placement&nbsp;en&nbsp;parametre.<br>
permet&nbsp;de&nbsp;modifier&nbsp;et&nbsp;d'ajouter&nbsp;un&nbsp;placement&nbsp;pour&nbsp;une&nbsp;voiture.</tt></dd></dl>

<dl><dt><a name="Voiture-setProprietaire"><strong>setProprietaire</strong></a>(self, client)</dt><dd><tt>Methode&nbsp;:&nbsp;modificateur&nbsp;de&nbsp;l'attribut&nbsp;proprietaire&nbsp;qui&nbsp;modifie&nbsp;celui&nbsp;ci.</tt></dd></dl>

<dl><dt><a name="Voiture-sortir"><strong>sortir</strong></a>(self)</dt><dd><tt>Methode&nbsp;:&nbsp;Met&nbsp;l'attribut&nbsp;estGaree&nbsp;a&nbsp;False&nbsp;pour&nbsp;dire&nbsp;qu'une&nbsp;voiture&nbsp;est&nbsp;maintenant&nbsp;partie.</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table></td></tr></table>
</body></html>